package com.ea.admin.pojo.po;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 *
 *
 * @author 林美欣
 * @date 2024-03-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MysqlBackup implements Serializable {
    /**
     * id-主键
     */
    @TableId
    private Long mysqlBackupId;

    /**
     * 数据源ip
     */
    private String sourceIp;

    /**
     * 数据源端口
     */
    private String sourcePort;

    /**
     * 备份名称
     */
    private String backupName;

    /**
     * 恢复时间
     */
    private Date recoveryTime;

    private static final long serialVersionUID = 1L;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 是否自动备份
     */
    private Integer isAuto;
    /**
     * 备份文件名
     */
    private String fileName;
    /**
     *
     */
    @TableLogic
    private Integer isDel;
}
